<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>绩效考核</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="static/css/font.css">
    <link rel="stylesheet" href="static/css/xadmin.css">
    <script type="text/javascript" src="static/js/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="static/lib/layui/layui.js"></script>
    <script type="text/javascript" src="static/js/xadmin.js"></script>
    <link rel="stylesheet" href="static/lib/layui/css/layui.css">

</head>
<body>
<!-- 顶部开始 -->
<div class="container">
    <div class="logo"><a>绩效考核系统</a></div>
    <div class="left_open">
        <i title="展开左侧栏" class="iconfont">&#xe699;</i>
    </div>
    <ul class="layui-nav right" lay-filter="">
        <li class="layui-nav-item">
            <a href="javascript:;"><span id="account">员工</span></a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a onclick="x_admin_show('修改密码','toPage.do?url=employee/changePassword.html',700,350)" >修改密码</a></dd>
                <dd><a href="logout.do">退出</a></dd>
            </dl>
        </li>
    </ul>

</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
            <li>
                <a href="javascript:;">
                    <cite><img src="img/icon/个人中心.png" height="10%" width="10%">&nbsp;&nbsp;&nbsp;个人信息</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li id="grxx" value="1">
                        <a _href="toPage.do?url=employee/inforEmployee.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>个人信息</cite>
                        </a>
                    </li>
                </ul>
                <ul class="sub-menu">
                    <li id="kszz" value="12">
                        <a _href="toPage.do?url=employee/departmentalResponsibilities.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>科室职责</cite>
                        </a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="javascript:;">
                    <cite><img src="img/icon/考勤.png" height="10%" width="10%">&nbsp;&nbsp;&nbsp;民主测评</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li id="tjcp" value="2">
                        <a _href="toPage.do?url=employee/employeeGrand.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>同级测评</cite>
                        </a>
                    </li>
                </ul>
                <ul class="sub-menu">
                    <li id="sxcp" value="3">
                        <a _href="toPage.do?url=employee/employeeSevaluation.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>下级对上级测评</cite>
                        </a>
                    </li>
                </ul>
                <ul class="sub-menu">
                    <li id="xscp" value="4">
                        <a _href="toPage.do?url=employee/employeeXevaluation.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>上级对下级测评</cite>
                        </a>
                    </li>
                </ul>
                <ul class="sub-menu">
                    <li id="mydcp" value="5">
                        <a _href="toPage.do?url=employee/employeeSatisfaction.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>满意度测评</cite>
                        </a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="javascript:;">
                    <cite><img src="img/icon/考勤.png" height="10%" width="10%">&nbsp;&nbsp;&nbsp;周纪实管理</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li id="zjslr" value="6">
                        <a _href="toPage.do?url=employee/week/employeeWeekPlan-list.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>周纪实信息录入</cite>
                        </a>
                    </li>
                </ul>
                <ul class="sub-menu">
                    <li id="zjssh" value="7">
                        <a _href="toPage.do?url=employee/week/employeeWeekCheck-list.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>周纪实信息审核</cite>
                        </a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="javascript:;">
                    <cite><img src="img/icon/考勤.png" height="10%" width="10%">&nbsp;&nbsp;&nbsp;个性指标评价</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li id="gzyj" value="8">
                        <a _href="toPage.do?url=employee/employeeDepment.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>工作业绩考核</cite>
                        </a>
                    </li>
                </ul>
                <ul class="sub-menu">
                    <li id="cqkh" value="9">
                        <a _href="toPage.do?url=employee/employeeAttendance.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>出勤考核</cite>
                        </a>
                    </li>
                </ul>
            </li>

            <li>
                <a href="javascript:;">
                    <cite><img src="img/icon/考勤.png" height="10%" width="10%">&nbsp;&nbsp;&nbsp;加分项测评</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li id="jfxkh" value="10">
                        <a _href="toPage.do?url=employee/employeeBonus.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>加分项考核</cite>
                        </a>
                    </li>
                </ul>
            </li>

            <li id="kpiResult" style="display: none;">
                <a href="javascript:;">
                    <cite><img src="img/icon/考勤.png" height="10%" width="10%">&nbsp;&nbsp;&nbsp;考核结果</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li id="khjg" value="11">
                        <a _href="toPage.do?url=employee/employeeGrand.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>考核结果</cite>
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
    <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
        <ul class="layui-tab-title">
            <li class="home"><i class="layui-icon">&#xe68e;</i>首页</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src='toPage.do?url=employee/welcome.html' frameborder="0" scrolling="yes"
                        class="x-iframe"></iframe>
            </div>
        </div>
    </div>
</div>
<div class="page-content-bg"></div>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<!-- 底部开始 -->
<div class="footer">
    <div class="copyright">Copyright ©2022绩效系统</div>
</div>
<!-- 底部结束 -->
</body>
<!--菜单点击事件日志保存-->
<script>
    $(function(){
        $("#nav").find("li").click(function(){
            var value = $(this).attr("value");
            if(typeof(value) != "undefined"){
                saveMenuClickLog(value);
            }
        });
    });
    //保存点击日志
    function saveMenuClickLog(flag) {
        $.ajax({
            url: "saveMenuLog/saveMenuClickLogInfo.do?flag="+flag,
            type: "post",
            dataType: "json",
            success: function (data) {},
        })
    }
</script>
<script>
    window.onload = function () {

        $.get("getShowMenuPermAccount.do?menuFlag=1",
            null,
            function (result) {
                console.log("result="+JSON.stringify(result.flag));
                if(result.flag == "Y"){
                    $("#kpiResult")[0].style.display = "";
                }
        });

        $.get("getEmployeeAccount.do", function (result) {
            $("#account").html(+result.account+" | "+result.name);
        });
    }
</script>
</html>
